package com.xy.gateway.service.impl;


import java.util.List;
import java.util.Map;
import java.util.Date;
import com.xy.core.util.BeanUtil;
import com.xy.common.page.Pagination;
import com.xy.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.xy.gateway.dao.RequestconfDao;
import com.xy.gateway.model.Requestconf;
import com.xy.gateway.service.RequestconfService;

@Service
@Transactional
public class RequestconfServiceImpl extends BaseServiceImpl<Requestconf> implements
		RequestconfService {
	private RequestconfDao requestconfDao;

	public RequestconfServiceImpl(RequestconfDao paramAppRoleDao) {
		super(paramAppRoleDao);
		this.requestconfDao = paramAppRoleDao;
	}

	@Override
	public boolean checkExist(String paraName, String paraValue) {
		return requestconfDao.checkExist("Requestconf", paraName, paraValue);
	}

	@Override
	public List<Requestconf> getRequestconf(Map<String, Object> map) {
		return requestconfDao.getRequestconf(map);
	}
	@Override
	public Pagination getRequestconfByPage(Map<String, Object> map, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return requestconfDao.getRequestconfByPage(map, pageNo, pageSize);
	}
	 
   @Override
	public Requestconf save(Requestconf requestconf1) {return super.save(requestconf1);}
}